<?php

class User_Form_ResendActivation extends Pldkp_Form 
{ 
    public function init()
    { 
        $this->setName('resend_activation');

        $email = new Zend_Form_Element_Text('email');
        $email->setRequired(true)
              ->setLabel('Email (that you used to create the user)')
              ->addValidator('EmailAddress', false, array())
              ->addValidator('NotEmpty');
              
        $submit = new Zend_Form_Element_Submit('submit');
        $submit->setLabel('Resend');
        
        $this->addElements(array($email, $submit));
    }
}